package com.shire.shire_interface.model.account;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DeviceInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DeviceInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andDevicenoIsNull() {
            addCriterion("deviceNo is null");
            return (Criteria) this;
        }

        public Criteria andDevicenoIsNotNull() {
            addCriterion("deviceNo is not null");
            return (Criteria) this;
        }

        public Criteria andDevicenoEqualTo(String value) {
            addCriterion("deviceNo =", value, "deviceno");
            return (Criteria) this;
        }

        public Criteria andDevicenoNotEqualTo(String value) {
            addCriterion("deviceNo <>", value, "deviceno");
            return (Criteria) this;
        }

        public Criteria andDevicenoGreaterThan(String value) {
            addCriterion("deviceNo >", value, "deviceno");
            return (Criteria) this;
        }

        public Criteria andDevicenoGreaterThanOrEqualTo(String value) {
            addCriterion("deviceNo >=", value, "deviceno");
            return (Criteria) this;
        }

        public Criteria andDevicenoLessThan(String value) {
            addCriterion("deviceNo <", value, "deviceno");
            return (Criteria) this;
        }

        public Criteria andDevicenoLessThanOrEqualTo(String value) {
            addCriterion("deviceNo <=", value, "deviceno");
            return (Criteria) this;
        }

        public Criteria andDevicenoLike(String value) {
            addCriterion("deviceNo like", value, "deviceno");
            return (Criteria) this;
        }

        public Criteria andDevicenoNotLike(String value) {
            addCriterion("deviceNo not like", value, "deviceno");
            return (Criteria) this;
        }

        public Criteria andDevicenoIn(List<String> values) {
            addCriterion("deviceNo in", values, "deviceno");
            return (Criteria) this;
        }

        public Criteria andDevicenoNotIn(List<String> values) {
            addCriterion("deviceNo not in", values, "deviceno");
            return (Criteria) this;
        }

        public Criteria andDevicenoBetween(String value1, String value2) {
            addCriterion("deviceNo between", value1, value2, "deviceno");
            return (Criteria) this;
        }

        public Criteria andDevicenoNotBetween(String value1, String value2) {
            addCriterion("deviceNo not between", value1, value2, "deviceno");
            return (Criteria) this;
        }

        public Criteria andRealudidIsNull() {
            addCriterion("realUdid is null");
            return (Criteria) this;
        }

        public Criteria andRealudidIsNotNull() {
            addCriterion("realUdid is not null");
            return (Criteria) this;
        }

        public Criteria andRealudidEqualTo(String value) {
            addCriterion("realUdid =", value, "realudid");
            return (Criteria) this;
        }

        public Criteria andRealudidNotEqualTo(String value) {
            addCriterion("realUdid <>", value, "realudid");
            return (Criteria) this;
        }

        public Criteria andRealudidGreaterThan(String value) {
            addCriterion("realUdid >", value, "realudid");
            return (Criteria) this;
        }

        public Criteria andRealudidGreaterThanOrEqualTo(String value) {
            addCriterion("realUdid >=", value, "realudid");
            return (Criteria) this;
        }

        public Criteria andRealudidLessThan(String value) {
            addCriterion("realUdid <", value, "realudid");
            return (Criteria) this;
        }

        public Criteria andRealudidLessThanOrEqualTo(String value) {
            addCriterion("realUdid <=", value, "realudid");
            return (Criteria) this;
        }

        public Criteria andRealudidLike(String value) {
            addCriterion("realUdid like", value, "realudid");
            return (Criteria) this;
        }

        public Criteria andRealudidNotLike(String value) {
            addCriterion("realUdid not like", value, "realudid");
            return (Criteria) this;
        }

        public Criteria andRealudidIn(List<String> values) {
            addCriterion("realUdid in", values, "realudid");
            return (Criteria) this;
        }

        public Criteria andRealudidNotIn(List<String> values) {
            addCriterion("realUdid not in", values, "realudid");
            return (Criteria) this;
        }

        public Criteria andRealudidBetween(String value1, String value2) {
            addCriterion("realUdid between", value1, value2, "realudid");
            return (Criteria) this;
        }

        public Criteria andRealudidNotBetween(String value1, String value2) {
            addCriterion("realUdid not between", value1, value2, "realudid");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andDevicemodelIsNull() {
            addCriterion("deviceModel is null");
            return (Criteria) this;
        }

        public Criteria andDevicemodelIsNotNull() {
            addCriterion("deviceModel is not null");
            return (Criteria) this;
        }

        public Criteria andDevicemodelEqualTo(String value) {
            addCriterion("deviceModel =", value, "devicemodel");
            return (Criteria) this;
        }

        public Criteria andDevicemodelNotEqualTo(String value) {
            addCriterion("deviceModel <>", value, "devicemodel");
            return (Criteria) this;
        }

        public Criteria andDevicemodelGreaterThan(String value) {
            addCriterion("deviceModel >", value, "devicemodel");
            return (Criteria) this;
        }

        public Criteria andDevicemodelGreaterThanOrEqualTo(String value) {
            addCriterion("deviceModel >=", value, "devicemodel");
            return (Criteria) this;
        }

        public Criteria andDevicemodelLessThan(String value) {
            addCriterion("deviceModel <", value, "devicemodel");
            return (Criteria) this;
        }

        public Criteria andDevicemodelLessThanOrEqualTo(String value) {
            addCriterion("deviceModel <=", value, "devicemodel");
            return (Criteria) this;
        }

        public Criteria andDevicemodelLike(String value) {
            addCriterion("deviceModel like", value, "devicemodel");
            return (Criteria) this;
        }

        public Criteria andDevicemodelNotLike(String value) {
            addCriterion("deviceModel not like", value, "devicemodel");
            return (Criteria) this;
        }

        public Criteria andDevicemodelIn(List<String> values) {
            addCriterion("deviceModel in", values, "devicemodel");
            return (Criteria) this;
        }

        public Criteria andDevicemodelNotIn(List<String> values) {
            addCriterion("deviceModel not in", values, "devicemodel");
            return (Criteria) this;
        }

        public Criteria andDevicemodelBetween(String value1, String value2) {
            addCriterion("deviceModel between", value1, value2, "devicemodel");
            return (Criteria) this;
        }

        public Criteria andDevicemodelNotBetween(String value1, String value2) {
            addCriterion("deviceModel not between", value1, value2, "devicemodel");
            return (Criteria) this;
        }

        public Criteria andSystemversionIsNull() {
            addCriterion("systemVersion is null");
            return (Criteria) this;
        }

        public Criteria andSystemversionIsNotNull() {
            addCriterion("systemVersion is not null");
            return (Criteria) this;
        }

        public Criteria andSystemversionEqualTo(String value) {
            addCriterion("systemVersion =", value, "systemversion");
            return (Criteria) this;
        }

        public Criteria andSystemversionNotEqualTo(String value) {
            addCriterion("systemVersion <>", value, "systemversion");
            return (Criteria) this;
        }

        public Criteria andSystemversionGreaterThan(String value) {
            addCriterion("systemVersion >", value, "systemversion");
            return (Criteria) this;
        }

        public Criteria andSystemversionGreaterThanOrEqualTo(String value) {
            addCriterion("systemVersion >=", value, "systemversion");
            return (Criteria) this;
        }

        public Criteria andSystemversionLessThan(String value) {
            addCriterion("systemVersion <", value, "systemversion");
            return (Criteria) this;
        }

        public Criteria andSystemversionLessThanOrEqualTo(String value) {
            addCriterion("systemVersion <=", value, "systemversion");
            return (Criteria) this;
        }

        public Criteria andSystemversionLike(String value) {
            addCriterion("systemVersion like", value, "systemversion");
            return (Criteria) this;
        }

        public Criteria andSystemversionNotLike(String value) {
            addCriterion("systemVersion not like", value, "systemversion");
            return (Criteria) this;
        }

        public Criteria andSystemversionIn(List<String> values) {
            addCriterion("systemVersion in", values, "systemversion");
            return (Criteria) this;
        }

        public Criteria andSystemversionNotIn(List<String> values) {
            addCriterion("systemVersion not in", values, "systemversion");
            return (Criteria) this;
        }

        public Criteria andSystemversionBetween(String value1, String value2) {
            addCriterion("systemVersion between", value1, value2, "systemversion");
            return (Criteria) this;
        }

        public Criteria andSystemversionNotBetween(String value1, String value2) {
            addCriterion("systemVersion not between", value1, value2, "systemversion");
            return (Criteria) this;
        }

        public Criteria andGroupidIsNull() {
            addCriterion("groupId is null");
            return (Criteria) this;
        }

        public Criteria andGroupidIsNotNull() {
            addCriterion("groupId is not null");
            return (Criteria) this;
        }

        public Criteria andGroupidEqualTo(Integer value) {
            addCriterion("groupId =", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidNotEqualTo(Integer value) {
            addCriterion("groupId <>", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidGreaterThan(Integer value) {
            addCriterion("groupId >", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidGreaterThanOrEqualTo(Integer value) {
            addCriterion("groupId >=", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidLessThan(Integer value) {
            addCriterion("groupId <", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidLessThanOrEqualTo(Integer value) {
            addCriterion("groupId <=", value, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidIn(List<Integer> values) {
            addCriterion("groupId in", values, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidNotIn(List<Integer> values) {
            addCriterion("groupId not in", values, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidBetween(Integer value1, Integer value2) {
            addCriterion("groupId between", value1, value2, "groupid");
            return (Criteria) this;
        }

        public Criteria andGroupidNotBetween(Integer value1, Integer value2) {
            addCriterion("groupId not between", value1, value2, "groupid");
            return (Criteria) this;
        }

        public Criteria andIpIsNull() {
            addCriterion("ip is null");
            return (Criteria) this;
        }

        public Criteria andIpIsNotNull() {
            addCriterion("ip is not null");
            return (Criteria) this;
        }

        public Criteria andIpEqualTo(String value) {
            addCriterion("ip =", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpNotEqualTo(String value) {
            addCriterion("ip <>", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpGreaterThan(String value) {
            addCriterion("ip >", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpGreaterThanOrEqualTo(String value) {
            addCriterion("ip >=", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpLessThan(String value) {
            addCriterion("ip <", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpLessThanOrEqualTo(String value) {
            addCriterion("ip <=", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpLike(String value) {
            addCriterion("ip like", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpNotLike(String value) {
            addCriterion("ip not like", value, "ip");
            return (Criteria) this;
        }

        public Criteria andIpIn(List<String> values) {
            addCriterion("ip in", values, "ip");
            return (Criteria) this;
        }

        public Criteria andIpNotIn(List<String> values) {
            addCriterion("ip not in", values, "ip");
            return (Criteria) this;
        }

        public Criteria andIpBetween(String value1, String value2) {
            addCriterion("ip between", value1, value2, "ip");
            return (Criteria) this;
        }

        public Criteria andIpNotBetween(String value1, String value2) {
            addCriterion("ip not between", value1, value2, "ip");
            return (Criteria) this;
        }

        public Criteria andWifimacIsNull() {
            addCriterion("wifiMac is null");
            return (Criteria) this;
        }

        public Criteria andWifimacIsNotNull() {
            addCriterion("wifiMac is not null");
            return (Criteria) this;
        }

        public Criteria andWifimacEqualTo(String value) {
            addCriterion("wifiMac =", value, "wifimac");
            return (Criteria) this;
        }

        public Criteria andWifimacNotEqualTo(String value) {
            addCriterion("wifiMac <>", value, "wifimac");
            return (Criteria) this;
        }

        public Criteria andWifimacGreaterThan(String value) {
            addCriterion("wifiMac >", value, "wifimac");
            return (Criteria) this;
        }

        public Criteria andWifimacGreaterThanOrEqualTo(String value) {
            addCriterion("wifiMac >=", value, "wifimac");
            return (Criteria) this;
        }

        public Criteria andWifimacLessThan(String value) {
            addCriterion("wifiMac <", value, "wifimac");
            return (Criteria) this;
        }

        public Criteria andWifimacLessThanOrEqualTo(String value) {
            addCriterion("wifiMac <=", value, "wifimac");
            return (Criteria) this;
        }

        public Criteria andWifimacLike(String value) {
            addCriterion("wifiMac like", value, "wifimac");
            return (Criteria) this;
        }

        public Criteria andWifimacNotLike(String value) {
            addCriterion("wifiMac not like", value, "wifimac");
            return (Criteria) this;
        }

        public Criteria andWifimacIn(List<String> values) {
            addCriterion("wifiMac in", values, "wifimac");
            return (Criteria) this;
        }

        public Criteria andWifimacNotIn(List<String> values) {
            addCriterion("wifiMac not in", values, "wifimac");
            return (Criteria) this;
        }

        public Criteria andWifimacBetween(String value1, String value2) {
            addCriterion("wifiMac between", value1, value2, "wifimac");
            return (Criteria) this;
        }

        public Criteria andWifimacNotBetween(String value1, String value2) {
            addCriterion("wifiMac not between", value1, value2, "wifimac");
            return (Criteria) this;
        }

        public Criteria andOnlinetimeIsNull() {
            addCriterion("onlineTime is null");
            return (Criteria) this;
        }

        public Criteria andOnlinetimeIsNotNull() {
            addCriterion("onlineTime is not null");
            return (Criteria) this;
        }

        public Criteria andOnlinetimeEqualTo(Date value) {
            addCriterion("onlineTime =", value, "onlinetime");
            return (Criteria) this;
        }

        public Criteria andOnlinetimeNotEqualTo(Date value) {
            addCriterion("onlineTime <>", value, "onlinetime");
            return (Criteria) this;
        }

        public Criteria andOnlinetimeGreaterThan(Date value) {
            addCriterion("onlineTime >", value, "onlinetime");
            return (Criteria) this;
        }

        public Criteria andOnlinetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("onlineTime >=", value, "onlinetime");
            return (Criteria) this;
        }

        public Criteria andOnlinetimeLessThan(Date value) {
            addCriterion("onlineTime <", value, "onlinetime");
            return (Criteria) this;
        }

        public Criteria andOnlinetimeLessThanOrEqualTo(Date value) {
            addCriterion("onlineTime <=", value, "onlinetime");
            return (Criteria) this;
        }

        public Criteria andOnlinetimeIn(List<Date> values) {
            addCriterion("onlineTime in", values, "onlinetime");
            return (Criteria) this;
        }

        public Criteria andOnlinetimeNotIn(List<Date> values) {
            addCriterion("onlineTime not in", values, "onlinetime");
            return (Criteria) this;
        }

        public Criteria andOnlinetimeBetween(Date value1, Date value2) {
            addCriterion("onlineTime between", value1, value2, "onlinetime");
            return (Criteria) this;
        }

        public Criteria andOnlinetimeNotBetween(Date value1, Date value2) {
            addCriterion("onlineTime not between", value1, value2, "onlinetime");
            return (Criteria) this;
        }

        public Criteria andLocalverIsNull() {
            addCriterion("localver is null");
            return (Criteria) this;
        }

        public Criteria andLocalverIsNotNull() {
            addCriterion("localver is not null");
            return (Criteria) this;
        }

        public Criteria andLocalverEqualTo(String value) {
            addCriterion("localver =", value, "localver");
            return (Criteria) this;
        }

        public Criteria andLocalverNotEqualTo(String value) {
            addCriterion("localver <>", value, "localver");
            return (Criteria) this;
        }

        public Criteria andLocalverGreaterThan(String value) {
            addCriterion("localver >", value, "localver");
            return (Criteria) this;
        }

        public Criteria andLocalverGreaterThanOrEqualTo(String value) {
            addCriterion("localver >=", value, "localver");
            return (Criteria) this;
        }

        public Criteria andLocalverLessThan(String value) {
            addCriterion("localver <", value, "localver");
            return (Criteria) this;
        }

        public Criteria andLocalverLessThanOrEqualTo(String value) {
            addCriterion("localver <=", value, "localver");
            return (Criteria) this;
        }

        public Criteria andLocalverLike(String value) {
            addCriterion("localver like", value, "localver");
            return (Criteria) this;
        }

        public Criteria andLocalverNotLike(String value) {
            addCriterion("localver not like", value, "localver");
            return (Criteria) this;
        }

        public Criteria andLocalverIn(List<String> values) {
            addCriterion("localver in", values, "localver");
            return (Criteria) this;
        }

        public Criteria andLocalverNotIn(List<String> values) {
            addCriterion("localver not in", values, "localver");
            return (Criteria) this;
        }

        public Criteria andLocalverBetween(String value1, String value2) {
            addCriterion("localver between", value1, value2, "localver");
            return (Criteria) this;
        }

        public Criteria andLocalverNotBetween(String value1, String value2) {
            addCriterion("localver not between", value1, value2, "localver");
            return (Criteria) this;
        }

        public Criteria andMemoIsNull() {
            addCriterion("memo is null");
            return (Criteria) this;
        }

        public Criteria andMemoIsNotNull() {
            addCriterion("memo is not null");
            return (Criteria) this;
        }

        public Criteria andMemoEqualTo(String value) {
            addCriterion("memo =", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotEqualTo(String value) {
            addCriterion("memo <>", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThan(String value) {
            addCriterion("memo >", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoGreaterThanOrEqualTo(String value) {
            addCriterion("memo >=", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLessThan(String value) {
            addCriterion("memo <", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLessThanOrEqualTo(String value) {
            addCriterion("memo <=", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoLike(String value) {
            addCriterion("memo like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotLike(String value) {
            addCriterion("memo not like", value, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoIn(List<String> values) {
            addCriterion("memo in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotIn(List<String> values) {
            addCriterion("memo not in", values, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoBetween(String value1, String value2) {
            addCriterion("memo between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andMemoNotBetween(String value1, String value2) {
            addCriterion("memo not between", value1, value2, "memo");
            return (Criteria) this;
        }

        public Criteria andCityIsNull() {
            addCriterion("city is null");
            return (Criteria) this;
        }

        public Criteria andCityIsNotNull() {
            addCriterion("city is not null");
            return (Criteria) this;
        }

        public Criteria andCityEqualTo(String value) {
            addCriterion("city =", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotEqualTo(String value) {
            addCriterion("city <>", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThan(String value) {
            addCriterion("city >", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityGreaterThanOrEqualTo(String value) {
            addCriterion("city >=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThan(String value) {
            addCriterion("city <", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLessThanOrEqualTo(String value) {
            addCriterion("city <=", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityLike(String value) {
            addCriterion("city like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotLike(String value) {
            addCriterion("city not like", value, "city");
            return (Criteria) this;
        }

        public Criteria andCityIn(List<String> values) {
            addCriterion("city in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotIn(List<String> values) {
            addCriterion("city not in", values, "city");
            return (Criteria) this;
        }

        public Criteria andCityBetween(String value1, String value2) {
            addCriterion("city between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCityNotBetween(String value1, String value2) {
            addCriterion("city not between", value1, value2, "city");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNull() {
            addCriterion("createTime is null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIsNotNull() {
            addCriterion("createTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreatetimeEqualTo(Date value) {
            addCriterion("createTime =", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotEqualTo(Date value) {
            addCriterion("createTime <>", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThan(Date value) {
            addCriterion("createTime >", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("createTime >=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThan(Date value) {
            addCriterion("createTime <", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeLessThanOrEqualTo(Date value) {
            addCriterion("createTime <=", value, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeIn(List<Date> values) {
            addCriterion("createTime in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotIn(List<Date> values) {
            addCriterion("createTime not in", values, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeBetween(Date value1, Date value2) {
            addCriterion("createTime between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andCreatetimeNotBetween(Date value1, Date value2) {
            addCriterion("createTime not between", value1, value2, "createtime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNull() {
            addCriterion("updateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIsNotNull() {
            addCriterion("updateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeEqualTo(Date value) {
            addCriterion("updateTime =", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotEqualTo(Date value) {
            addCriterion("updateTime <>", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThan(Date value) {
            addCriterion("updateTime >", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) {
            addCriterion("updateTime >=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThan(Date value) {
            addCriterion("updateTime <", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeLessThanOrEqualTo(Date value) {
            addCriterion("updateTime <=", value, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeIn(List<Date> values) {
            addCriterion("updateTime in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotIn(List<Date> values) {
            addCriterion("updateTime not in", values, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeBetween(Date value1, Date value2) {
            addCriterion("updateTime between", value1, value2, "updatetime");
            return (Criteria) this;
        }

        public Criteria andUpdatetimeNotBetween(Date value1, Date value2) {
            addCriterion("updateTime not between", value1, value2, "updatetime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}